package com.hsp.interface_;

public class Interface01 {
    public static void main(String[] args) {
        //创建手机，相机对象
        Camera camera = new Camera();
        Phone phone = new Phone();

        Computer computer = new Computer();
        computer.work(camera);

        System.out.println("=============");
        computer.work(phone);
    }
}
